﻿#region Using directives

using System;
using System.Collections;
using System.Data;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.MD.Runtime.Implement;

#endregion

namespace SHFastShipUI
{
	[Serializable]
	public partial class SHFastShipUIModel : UIModel
	{
		#region Constructor
		public SHFastShipUIModel() : base("SHFastShipUI")
		{
			InitClass();
			this.SetResourceInfo("d68ba0c3-4a8a-45f1-9807-2b2c5a922af7");
            try{
			    AfterInitModel();
            }catch(Exception exception){
              IUIModel model = this;
		      this.ErrorMessage.SetErrorMessage(ref model,exception);
			}
		}

		//just for Clone 
		private SHFastShipUIModel(bool isInit) : base("SHFastShipUI")
		{}
		protected override IUIModel CreateCloneInstance()
		{
			return new SHFastShipUIModel(false);
		}
		#endregion
		#region member
		#region views
		private SHFastShipView viewSHFastShip;			
		private SHFastShip_SHFastShipLineView viewSHFastShip_SHFastShipLine;			
		#endregion
		
		#region links
		//private IUILink linkSHFastShip__SHFastShip_SHFastShipLine;			
		#endregion
		
		#region properties
		#endregion
		#endregion

		#region property
		public SHFastShipView SHFastShip
		{
			get { return (SHFastShipView)this["SHFastShip"]; }
		}
		public SHFastShip_SHFastShipLineView SHFastShip_SHFastShipLine
		{
			get { return (SHFastShip_SHFastShipLineView)this["SHFastShip_SHFastShipLine"]; }
		}
		
		#region RealViews
		#endregion
		
	
		#endregion

		#region function
		private void InitClass()
		{
			this.viewSHFastShip = new SHFastShipView(this);
			this.viewSHFastShip.SetResourceInfo("c7e90280-f38e-403a-aadc-a3e4c61af0a7");
			this.Views.Add(this.viewSHFastShip);			
			this.viewSHFastShip_SHFastShipLine = new SHFastShip_SHFastShipLineView(this);
			this.viewSHFastShip_SHFastShipLine.SetResourceInfo("b5cd44d0-5207-4d1a-8272-acf0055079ac");
			this.Views.Add(this.viewSHFastShip_SHFastShipLine);			

			//this.linkSHFastShip__SHFastShip_SHFastShipLine
			{
			IUILink link = new UILink("SHFastShip__SHFastShip_SHFastShipLine",this,this.viewSHFastShip.FieldID,this.viewSHFastShip_SHFastShipLine.FieldSHFastShip,EnumAssociationKind.COMPOSITION,EnumAssociationDirection.Double,EnumCardinality.ONE,EnumCardinality.MORE,"SHFastShipLine");
			this.Links.Add(link);
			}
			//this.linkSHFastShip__SHFastShip_SHFastShipLine.ChildKeyConstraint.UpdateRule = Rule.None;
			//this.linkSHFastShip__SHFastShip_SHFastShipLine.ChildKeyConstraint.DeleteRule = Rule.None;
			//this.linkSHFastShip__SHFastShip_SHFastShipLine.ChildKeyConstraint.AcceptRejectRule = AcceptRejectRule.None;
			
		}

		public override string AssemblyName
		{
			get { return "UFIDA.U9.Cust.SH.SHFastShipUI"; }
		}
		
		#endregion
		private void OnValidate_DefualtImpl()
    {
    }

	}


	[Serializable]
	public partial class SHFastShipView : UIView
	{
		#region Constructor
		public SHFastShipView(IUIModel model) : base(model,"SHFastShip","UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip", true)
		{
			InitClass();
		}
		//构造空实例,不进行初始化.目前为Clone使用.
		private SHFastShipView():base(null,"SHFastShip","UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip", true)
		{
		}
		protected override IUIView CreateCloneInstance()
		{
			return new SHFastShipView();
		}
		#endregion

		#region fiels property filter
		public IUIField FieldID
		{
			get { return this.Fields["ID"]; }
		}
		public IUIField FieldCreatedOn
		{
			get { return this.Fields["CreatedOn"]; }
		}
		public IUIField FieldCreatedBy
		{
			get { return this.Fields["CreatedBy"]; }
		}
		public IUIField FieldModifiedOn
		{
			get { return this.Fields["ModifiedOn"]; }
		}
		public IUIField FieldModifiedBy
		{
			get { return this.Fields["ModifiedBy"]; }
		}
		public IUIField FieldSysVersion
		{
			get { return this.Fields["SysVersion"]; }
		}
		public IUIField FieldDocType
		{
			get { return this.Fields["DocType"]; }
		}
		public IUIField FieldDocType_Code
		{
			get { return this.Fields["DocType_Code"]; }
		}
		public IUIField FieldDocType_Name
		{
			get { return this.Fields["DocType_Name"]; }
		}
		public IUIField FieldDocNo
		{
			get { return this.Fields["DocNo"]; }
		}
		public IUIField FieldShipDocNo
		{
			get { return this.Fields["ShipDocNo"]; }
		}
		public IUIField FieldShipDoc
		{
			get { return this.Fields["ShipDoc"]; }
		}
		public IUIField FieldCustomer
		{
			get { return this.Fields["Customer"]; }
		}
		public IUIField FieldCustomer_Code
		{
			get { return this.Fields["Customer_Code"]; }
		}
		public IUIField FieldCustomer_Name
		{
			get { return this.Fields["Customer_Name"]; }
		}
		public IUIField FieldDocDate
		{
			get { return this.Fields["DocDate"]; }
		}
		public IUIField FieldSaleWH
		{
			get { return this.Fields["SaleWH"]; }
		}
		public IUIField FieldSaleWH_Code
		{
			get { return this.Fields["SaleWH_Code"]; }
		}
		public IUIField FieldSaleWH_Name
		{
			get { return this.Fields["SaleWH_Name"]; }
		}
		public IUIField FieldIsZY
		{
			get { return this.Fields["IsZY"]; }
		}
		public IUIField FieldZYCustomer
		{
			get { return this.Fields["ZYCustomer"]; }
		}
		public IUIField FieldZYCustomer_Code
		{
			get { return this.Fields["ZYCustomer_Code"]; }
		}
		public IUIField FieldZYCustomer_Name
		{
			get { return this.Fields["ZYCustomer_Name"]; }
		}
		public IUIField FieldDocState
		{
			get { return this.Fields["DocState"]; }
		}
		public IUIField FieldOrg
		{
			get { return this.Fields["Org"]; }
		}
		public IUIField FieldOrg_Code
		{
			get { return this.Fields["Org_Code"]; }
		}
		public IUIField FieldOrg_Name
		{
			get { return this.Fields["Org_Name"]; }
		}
		public IUIField FieldWH
		{
			get { return this.Fields["WH"]; }
		}
		public IUIField FieldWH_Code
		{
			get { return this.Fields["WH_Code"]; }
		}
		public IUIField FieldWH_Name
		{
			get { return this.Fields["WH_Name"]; }
		}
		public IUIField FieldSaleType
		{
			get { return this.Fields["SaleType"]; }
		}
		public IUIField FieldSaleType_Code
		{
			get { return this.Fields["SaleType_Code"]; }
		}
		public IUIField FieldSaleType_Name
		{
			get { return this.Fields["SaleType_Name"]; }
		}
		public IUIField FieldMemo
		{
			get { return this.Fields["Memo"]; }
		}
		public IUIField FieldCreditNoCheck
		{
			get { return this.Fields["CreditNoCheck"]; }
		}
		public IUIField FieldCredit
		{
			get { return this.Fields["Credit"]; }
		}
		public IUIField FieldCustomer_DescFlexField_PrivateDescSeg8
		{
			get { return this.Fields["Customer_DescFlexField_PrivateDescSeg8"]; }
		}
		public IUIField FieldDocType_CreditCheckTime
		{
			get { return this.Fields["DocType_CreditCheckTime"]; }
		}
		public IUIField FieldShipDocTypeParam
		{
			get { return this.Fields["ShipDocTypeParam"]; }
		}
		public IUIField FieldApproveMan
		{
			get { return this.Fields["ApproveMan"]; }
		}
		public IUIField FieldApproveDate
		{
			get { return this.Fields["ApproveDate"]; }
		}
		public IUIField FieldUnApproveMan
		{
			get { return this.Fields["UnApproveMan"]; }
		}
		public IUIField FieldUnApproveDate
		{
			get { return this.Fields["UnApproveDate"]; }
		}
		public IUIField FieldTotalAmount
		{
			get { return this.Fields["TotalAmount"]; }
		}
		public IUIField FieldFinalCustomer
		{
			get { return this.Fields["FinalCustomer"]; }
		}
		public IUIField FieldPhone
		{
			get { return this.Fields["Phone"]; }
		}
		public IUIField FieldAddress
		{
			get { return this.Fields["Address"]; }
		}
		public IUIField FieldTBDocNo
		{
			get { return this.Fields["TBDocNo"]; }
		}
		public IUIField FieldAgency
		{
			get { return this.Fields["Agency"]; }
		}
		public IUIField FieldAgency_Code
		{
			get { return this.Fields["Agency_Code"]; }
		}
		public IUIField FieldAgency_Name
		{
			get { return this.Fields["Agency_Name"]; }
		}
		public IUIField FieldGeneralAgency
		{
			get { return this.Fields["GeneralAgency"]; }
		}
		public IUIField FieldGeneralAgency_Code
		{
			get { return this.Fields["GeneralAgency_Code"]; }
		}
		public IUIField FieldGeneralAgency_Name
		{
			get { return this.Fields["GeneralAgency_Name"]; }
		}
		public IUIField FieldIsZT
		{
			get { return this.Fields["IsZT"]; }
		}
		public IUIField FieldTBAmount
		{
			get { return this.Fields["TBAmount"]; }
		}
		public IUIField FieldRebatesDate
		{
			get { return this.Fields["RebatesDate"]; }
		}
		public IUIField FieldTotalNo
		{
			get { return this.Fields["TotalNo"]; }
		}
		public IUIField FieldMDDocNo
		{
			get { return this.Fields["MDDocNo"]; }
		}
		public IUIField FieldGSCheck
		{
			get { return this.Fields["GSCheck"]; }
		}
		public IUIField FieldKHCheck
		{
			get { return this.Fields["KHCheck"]; }
		}
		public IUIField FieldMDMemo
		{
			get { return this.Fields["MDMemo"]; }
		}
		public IUIField FieldReserved
		{
			get { return this.Fields["Reserved"]; }
		}


		[Obsolete("请使用CurrentFilter属性，这个方法有可能会导致强弱类型转换出错")]
		public SHFastShipDefaultFilterFilter DefaultFilter
		{
			get { return (SHFastShipDefaultFilterFilter)this.CurrentFilter; }
		}
		#endregion

		#region Init
		private void InitClass()
		{
			UIModelRuntimeFactory.AddNewUIField(this,"ID", typeof(Int64), false,"","System.Int64", "ID", true,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","40242122-d078-4efc-9df9-19f82bd21080");
			UIModelRuntimeFactory.AddNewUIField(this,"CreatedOn", typeof(DateTime), true,"","System.DateTime", "CreatedOn", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","7a424689-8924-4fe9-9c3c-aff5a2a4611a");
			UIModelRuntimeFactory.AddNewUIField(this,"CreatedBy", typeof(String), true,"","System.String", "CreatedBy", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","f41a4e65-715f-4f7d-86e2-0dc2c506145d");
			UIModelRuntimeFactory.AddNewUIField(this,"ModifiedOn", typeof(DateTime), true,"","System.DateTime", "ModifiedOn", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","2e64a790-a44b-41ab-ac74-1b303fb4030e");
			UIModelRuntimeFactory.AddNewUIField(this,"ModifiedBy", typeof(String), true,"","System.String", "ModifiedBy", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","4227b91d-864a-48ac-9a96-ba068b4b652c");
			UIModelRuntimeFactory.AddNewUIField(this,"SysVersion", typeof(Int64), true,"0","System.Int64", "SysVersion", true,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","c8ad411a-1cfc-4dd6-ad4e-879f2b78da76");
			UIModelRuntimeFactory.AddNewUIField(this,"DocType", typeof(Int64), false,"","UFIDA.U9.SM.Ship.ShipDocType", "DocType", true,true, false, "",false,(UIFieldType)4,"323124c7-3f1e-4d5e-8b3a-7028bcf10eff","d27cf020-b987-4e55-bf11-b6eca6b403ee");
			UIModelRuntimeFactory.AddNewUIField(this,"DocType_Code", typeof(String), false,"","System.String", "DocType.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","66afb0f9-bb5e-41d1-b47d-074cb66b10f9");
			UIModelRuntimeFactory.AddNewUIField(this,"DocType_Name", typeof(String), true,"","System.String", "DocType.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","53406dab-4850-4c20-9206-c55ef681893e");
			UIModelRuntimeFactory.AddNewUIField(this,"DocNo", typeof(String), false,"","System.String", "DocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","ef15cde2-d623-4260-9fdd-3d6a0bf5d6ce");
			UIModelRuntimeFactory.AddNewUIField(this,"ShipDocNo", typeof(String), true,"","System.String", "ShipDocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","2beb5b9b-ef0c-4ec3-ab5a-95f5f0eef13c");
			UIModelRuntimeFactory.AddNewUIField(this,"ShipDoc", typeof(Int64), true,"","UFIDA.U9.SM.Ship.Ship", "ShipDoc", true,true, false, "",false,(UIFieldType)4,"ec00169d-7380-48d8-a30a-22c80426282b","4f8a7255-6a69-45bf-98e4-fb2ef57682d2");
			UIModelRuntimeFactory.AddNewUIField(this,"Customer", typeof(Int64), false,"","UFIDA.U9.CBO.SCM.Customer.Customer", "Customer", true,true, false, "",false,(UIFieldType)4,"8508f308-9d66-4b1d-abf4-e28dab8e926d","d2a9abe1-447b-44c0-beb2-8dcd78d3d2f6");
			UIModelRuntimeFactory.AddNewUIField(this,"Customer_Code", typeof(String), false,"","System.String", "Customer.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","56dd9795-1375-45cc-b222-862b191e253e");
			UIModelRuntimeFactory.AddNewUIField(this,"Customer_Name", typeof(String), true,"","System.String", "Customer.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","ad355a5a-c3f5-4b00-be60-b6a39281ac04");
			UIModelRuntimeFactory.AddNewUIField(this,"DocDate", typeof(DateTime), false,"","System.DateTime", "DocDate", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","85f77885-9d79-4445-b0e2-7902dd9e1307");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleWH", typeof(Int64), true,"","UFIDA.U9.CBO.SCM.Warehouse.Warehouse", "SaleWH", true,true, false, "",false,(UIFieldType)4,"0fac5c83-2ab0-428f-bf82-c363857b37be","7ebb39fe-ee26-4d1b-b4f5-e5f2d40aa072");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleWH_Code", typeof(String), false,"","System.String", "SaleWH.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","54922b32-3134-4d2d-a124-62012cd7bfac");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleWH_Name", typeof(String), true,"","System.String", "SaleWH.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","98dcb412-43ca-4b21-9e6b-0f75e2354b90");
			UIModelRuntimeFactory.AddNewUIField(this,"IsZY", typeof(Boolean), true,"false","System.Boolean", "IsZY", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","1e32d3cd-8b10-4648-9a43-b9558320a37e");
			UIModelRuntimeFactory.AddNewUIField(this,"ZYCustomer", typeof(Int64), true,"","UFIDA.U9.CBO.SCM.Customer.Customer", "ZYCustomer", true,true, false, "",false,(UIFieldType)4,"8508f308-9d66-4b1d-abf4-e28dab8e926d","5e37d343-d675-48d6-8839-5b457f897c62");
			UIModelRuntimeFactory.AddNewUIField(this,"ZYCustomer_Code", typeof(String), false,"","System.String", "ZYCustomer.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","91a23dda-6e64-4423-9bbf-7da864dc6400");
			UIModelRuntimeFactory.AddNewUIField(this,"ZYCustomer_Name", typeof(String), true,"","System.String", "ZYCustomer.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","20672c10-077d-440b-8d0f-3fa15b2f68d2");
			UIModelRuntimeFactory.AddNewUIField(this,"DocState", typeof(Int32), true,"0","UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState", "DocState", true,true, false, "",false,(UIFieldType)2,"643f41df-f9c1-4f26-844a-fd34ffbe7311","b5e752d0-97c0-4ebc-acd0-5f31516d1392");
			UIModelRuntimeFactory.AddNewUIField(this,"Org", typeof(Int64), true,"","UFIDA.U9.Base.Organization.Organization", "Org", true,true, false, "",false,(UIFieldType)4,"73eb56da-f25a-4636-94e7-61b0cb4b7784","16d4297b-66a0-4b60-9ca2-88d549d5394d");
			UIModelRuntimeFactory.AddNewUIField(this,"Org_Code", typeof(String), false,"","System.String", "Org.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","f4b45835-72c6-4f48-9c8b-5928aa28c1e3");
			UIModelRuntimeFactory.AddNewUIField(this,"Org_Name", typeof(String), true,"","System.String", "Org.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5eeb091f-920c-45c5-95b5-ee0fbecb88ef");
			UIModelRuntimeFactory.AddNewUIField(this,"WH", typeof(Int64), true,"","UFIDA.U9.CBO.SCM.Warehouse.Warehouse", "WH", true,true, false, "",false,(UIFieldType)4,"0fac5c83-2ab0-428f-bf82-c363857b37be","912ca685-d876-4905-bf54-6522b84ac06d");
			UIModelRuntimeFactory.AddNewUIField(this,"WH_Code", typeof(String), false,"","System.String", "WH.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","ad32f91e-0fd1-4676-bac5-664354b27dd0");
			UIModelRuntimeFactory.AddNewUIField(this,"WH_Name", typeof(String), true,"","System.String", "WH.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","88b04b8e-b848-4e15-90b7-92cf1fe1dd01");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleType", typeof(Int64), true,"","UFIDA.U9.Base.FlexField.ValueSet.DefineValue", "SaleType", true,true, false, "",false,(UIFieldType)4,"f52b36dc-e642-4513-a0e6-8bddd4f9e7fc","08f77503-769c-4cae-b16c-b05dfcde08ee");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleType_Code", typeof(String), false,"","System.String", "SaleType.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","9d710e63-f62b-422c-971c-95131b711646");
			UIModelRuntimeFactory.AddNewUIField(this,"SaleType_Name", typeof(String), true,"","System.String", "SaleType.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","6daeefee-17c0-4f67-9652-2e0302ad790b");
			UIModelRuntimeFactory.AddNewUIField(this,"Memo", typeof(String), true,"","System.String", "Memo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","aefad935-dcab-4679-94f6-64d784ad1e5b");
			UIModelRuntimeFactory.AddNewUIField(this,"CreditNoCheck", typeof(Boolean), true,"false","System.Boolean", "CreditNoCheck", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","89d6cea2-2be6-4dde-a402-6f1d57d6dd27");
			UIModelRuntimeFactory.AddNewUIField(this,"Credit", typeof(Decimal), true,"0","System.Decimal", "Credit", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","4027e156-be7f-4a6a-ab1a-b2a71228eca6");
			UIModelRuntimeFactory.AddNewUIField(this,"Customer_DescFlexField_PrivateDescSeg8", typeof(String), true,"","System.String", "Customer.DescFlexField.PrivateDescSeg8", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","168ab893-baa1-468a-b928-d2e6c370266a");
			UIModelRuntimeFactory.AddNewUIField(this,"DocType_CreditCheckTime", typeof(Int32), true,"0","UFIDA.U9.SM.Enums.SDCreditCheckTimeEnum", "DocType.CreditCheckTime", false,true, false, "",false,(UIFieldType)2,"a96bc8ac-dbf0-4624-b134-d0bf4cd2f049","072b1e0b-fbf4-4250-9ad5-0d47e9fcbde6");
			UIModelRuntimeFactory.AddNewUIField(this,"ShipDocTypeParam", typeof(String), true,"ShipDocType","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","8efd9844-ad97-481a-b4c2-50fc19973965");
			UIModelRuntimeFactory.AddNewUIField(this,"ApproveMan", typeof(String), true,"","System.String", "ApproveMan", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","9c296ece-9ae0-4a3f-b975-f42ed76ee1c7");
			UIModelRuntimeFactory.AddNewUIField(this,"ApproveDate", typeof(DateTime), true,"","System.DateTime", "ApproveDate", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","9934b01e-6e05-4338-8c2e-a1457f0aeeec");
			UIModelRuntimeFactory.AddNewUIField(this,"UnApproveMan", typeof(String), true,"","System.String", "UnApproveMan", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","38cf7b5b-9574-4f1e-8ee5-d25d7c47b21e");
			UIModelRuntimeFactory.AddNewUIField(this,"UnApproveDate", typeof(DateTime), true,"","System.DateTime", "UnApproveDate", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","7f8c3836-560f-450f-95fa-fecc9cce2d71");
			UIModelRuntimeFactory.AddNewUIField(this,"TotalAmount", typeof(Decimal), true,"0","System.Decimal", "TotalAmount", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","ab69bf53-90f8-45e3-a0bc-d1a315ba4db5");
			UIModelRuntimeFactory.AddNewUIField(this,"FinalCustomer", typeof(String), true,"","System.String", "FinalCustomer", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","e5b67f20-c831-40ec-8987-e0c4f0b783a3");
			UIModelRuntimeFactory.AddNewUIField(this,"Phone", typeof(String), true,"","System.String", "Phone", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5aae4450-fa12-4cae-87ea-f11fc6f7e402");
			UIModelRuntimeFactory.AddNewUIField(this,"Address", typeof(String), true,"","System.String", "Address", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","d95ed198-b88e-464f-91d5-9a720ec27b01");
			UIModelRuntimeFactory.AddNewUIField(this,"TBDocNo", typeof(String), true,"","System.String", "TBDocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","c16a9098-4113-4f1e-8d1e-399f41e3f3be");
			UIModelRuntimeFactory.AddNewUIField(this,"Agency", typeof(Int64), true,"","UFIDA.U9.CBO.SCM.Customer.Customer", "Agency", true,true, false, "",false,(UIFieldType)4,"8508f308-9d66-4b1d-abf4-e28dab8e926d","95e5c428-5329-4de7-80ab-29435780b4a6");
			UIModelRuntimeFactory.AddNewUIField(this,"Agency_Code", typeof(String), false,"","System.String", "Agency.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","80e2902a-08c7-43fc-9922-2a980ebde6a9");
			UIModelRuntimeFactory.AddNewUIField(this,"Agency_Name", typeof(String), true,"","System.String", "Agency.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","91d411f0-98a4-4f38-afe5-5f39b8113ea0");
			UIModelRuntimeFactory.AddNewUIField(this,"GeneralAgency", typeof(Int64), true,"","UFIDA.U9.CBO.SCM.Customer.Customer", "GeneralAgency", true,true, false, "",false,(UIFieldType)4,"8508f308-9d66-4b1d-abf4-e28dab8e926d","ee4bc298-0892-44f6-8805-9379187efca6");
			UIModelRuntimeFactory.AddNewUIField(this,"GeneralAgency_Code", typeof(String), false,"","System.String", "GeneralAgency.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","4459a3c2-4c39-4cc7-835d-dc168df9eb63");
			UIModelRuntimeFactory.AddNewUIField(this,"GeneralAgency_Name", typeof(String), true,"","System.String", "GeneralAgency.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5afe63f9-bdc4-43a5-ad82-88af6c4130e4");
			UIModelRuntimeFactory.AddNewUIField(this,"IsZT", typeof(Boolean), true,"false","System.Boolean", "IsZT", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","9437e27e-94b6-4635-823e-dedc19e3698a");
			UIModelRuntimeFactory.AddNewUIField(this,"TBAmount", typeof(Decimal), true,"0","System.Decimal", "TBAmount", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","b62a089d-ec72-4b38-946f-b7d1adb3a170");
			UIModelRuntimeFactory.AddNewUIField(this,"RebatesDate", typeof(DateTime), true,"","System.DateTime", "RebatesDate", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","d1923a59-1b70-4e48-a0f8-50d6431b67ab");
			UIModelRuntimeFactory.AddNewUIField(this,"TotalNo", typeof(String), true,"","System.String", "TotalNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","7dd4e015-f3a3-4b6b-ac0f-9cfc0b215922");
			UIModelRuntimeFactory.AddNewUIField(this,"MDDocNo", typeof(String), true,"","System.String", "MDDocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","0d0c64a3-0feb-44c1-9b0a-010690959654");
			UIModelRuntimeFactory.AddNewUIField(this,"GSCheck", typeof(Boolean), true,"false","System.Boolean", "GSCheck", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","ca99222a-111b-4729-b8b2-11073325b37d");
			UIModelRuntimeFactory.AddNewUIField(this,"KHCheck", typeof(Boolean), true,"false","System.Boolean", "KHCheck", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","8917c774-6783-4999-a85a-f27ba9c4e046");
			UIModelRuntimeFactory.AddNewUIField(this,"MDMemo", typeof(String), true,"","System.String", "MDMemo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","ce8d5798-4324-41dd-9f6f-69b232d9887d");
			UIModelRuntimeFactory.AddNewUIField(this,"Reserved", typeof(Boolean), true,"false","System.Boolean", "Reserved", true,true, false, "",false,(UIFieldType)1,"5efeea06-cae7-4cc0-82e9-20a789e4e582","16828bea-e0e2-4f08-a451-5e72067f75b1");


			this.CurrentFilter = new SHFastShipDefaultFilterFilter(this);
		}
		#endregion
		
		#region override method
		protected override IUIRecord BuildNewRecord(IUIRecordBuilder builder)
		{
			return new SHFastShipRecord(builder);
		}
		#endregion

		#region new method
		public new SHFastShipRecord FocusedRecord
		{
			get { return (SHFastShipRecord)base.FocusedRecord ; }
			set { base.FocusedRecord = value ; }
		}
		public new SHFastShipRecord AddNewUIRecord()
		{	
			return (SHFastShipRecord)base.AddNewUIRecord();
		}
		public new SHFastShipRecord NewUIRecord()
		{	
			return (SHFastShipRecord)base.NewUIRecord();
		}
		#endregion 

	}

	[Serializable]
	public class SHFastShipRecord : UIRecord
	{
		#region Constructor
		public SHFastShipRecord(IUIRecordBuilder builder):base(builder)
		{
		}
		private SHFastShipView uiviewSHFastShip
		{
			get { return (SHFastShipView)this.ContainerView; }
		}
		protected override IUIRecord CreateCloneInstance(IUIRecordBuilder builder)
		{
			return new SHFastShipRecord(builder);
		}
		#endregion

		#region property
		
		
		public  Int64 ID
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldID] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip.FieldID);
			}
			set{
				this[this.uiviewSHFastShip.FieldID] = value;
			}
		}
		
		
		public  DateTime? CreatedOn
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCreatedOn] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip.FieldCreatedOn);
			}
			set{
				this[this.uiviewSHFastShip.FieldCreatedOn] = value;
			}
		}
		
		
		public  String CreatedBy
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCreatedBy] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldCreatedBy);
			}
			set{
				this[this.uiviewSHFastShip.FieldCreatedBy] = value;
			}
		}
		
		
		public  DateTime? ModifiedOn
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldModifiedOn] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip.FieldModifiedOn);
			}
			set{
				this[this.uiviewSHFastShip.FieldModifiedOn] = value;
			}
		}
		
		
		public  String ModifiedBy
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldModifiedBy] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldModifiedBy);
			}
			set{
				this[this.uiviewSHFastShip.FieldModifiedBy] = value;
			}
		}
		
		
		public new Int64? SysVersion
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSysVersion] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldSysVersion);
			}
			set{
				this[this.uiviewSHFastShip.FieldSysVersion] = value;
			}
		}
		
		
		public  Int64 DocType
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocType] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip.FieldDocType);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocType] = value;
			}
		}
		
		
		public  String DocType_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocType_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldDocType_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocType_Code] = value;
			}
		}
		
		
		public  String DocType_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocType_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldDocType_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocType_Name] = value;
			}
		}
		
		
		public  String DocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldDocNo);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocNo] = value;
			}
		}
		
		
		public  String ShipDocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldShipDocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldShipDocNo);
			}
			set{
				this[this.uiviewSHFastShip.FieldShipDocNo] = value;
			}
		}
		
		
		public  Int64? ShipDoc
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldShipDoc] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldShipDoc);
			}
			set{
				this[this.uiviewSHFastShip.FieldShipDoc] = value;
			}
		}
		
		
		public  Int64 Customer
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCustomer] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip.FieldCustomer);
			}
			set{
				this[this.uiviewSHFastShip.FieldCustomer] = value;
			}
		}
		
		
		public  String Customer_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCustomer_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldCustomer_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldCustomer_Code] = value;
			}
		}
		
		
		public  String Customer_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCustomer_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldCustomer_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldCustomer_Name] = value;
			}
		}
		
		
		public  DateTime DocDate
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocDate] ;
				//return (DateTime)value;
				return GetValue<DateTime>(this.uiviewSHFastShip.FieldDocDate);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocDate] = value;
			}
		}
		
		
		public  Int64? SaleWH
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleWH] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldSaleWH);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleWH] = value;
			}
		}
		
		
		public  String SaleWH_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleWH_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldSaleWH_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleWH_Code] = value;
			}
		}
		
		
		public  String SaleWH_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleWH_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldSaleWH_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleWH_Name] = value;
			}
		}
		
		
		public  Boolean? IsZY
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldIsZY] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldIsZY);
			}
			set{
				this[this.uiviewSHFastShip.FieldIsZY] = value;
			}
		}
		
		
		public  Int64? ZYCustomer
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldZYCustomer] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldZYCustomer);
			}
			set{
				this[this.uiviewSHFastShip.FieldZYCustomer] = value;
			}
		}
		
		
		public  String ZYCustomer_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldZYCustomer_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldZYCustomer_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldZYCustomer_Code] = value;
			}
		}
		
		
		public  String ZYCustomer_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldZYCustomer_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldZYCustomer_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldZYCustomer_Name] = value;
			}
		}
		
		
		public  Int32? DocState
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocState] ;
				//return (Int32?)value;
				return GetValue<Int32?>(this.uiviewSHFastShip.FieldDocState);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocState] = value;
			}
		}
		
		
		public  Int64? Org
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldOrg] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldOrg);
			}
			set{
				this[this.uiviewSHFastShip.FieldOrg] = value;
			}
		}
		
		
		public  String Org_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldOrg_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldOrg_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldOrg_Code] = value;
			}
		}
		
		
		public  String Org_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldOrg_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldOrg_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldOrg_Name] = value;
			}
		}
		
		
		public  Int64? WH
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldWH] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldWH);
			}
			set{
				this[this.uiviewSHFastShip.FieldWH] = value;
			}
		}
		
		
		public  String WH_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldWH_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldWH_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldWH_Code] = value;
			}
		}
		
		
		public  String WH_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldWH_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldWH_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldWH_Name] = value;
			}
		}
		
		
		public  Int64? SaleType
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleType] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldSaleType);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleType] = value;
			}
		}
		
		
		public  String SaleType_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleType_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldSaleType_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleType_Code] = value;
			}
		}
		
		
		public  String SaleType_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldSaleType_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldSaleType_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldSaleType_Name] = value;
			}
		}
		
		
		public  String Memo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldMemo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldMemo);
			}
			set{
				this[this.uiviewSHFastShip.FieldMemo] = value;
			}
		}
		
		
		public  Boolean? CreditNoCheck
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCreditNoCheck] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldCreditNoCheck);
			}
			set{
				this[this.uiviewSHFastShip.FieldCreditNoCheck] = value;
			}
		}
		
		
		public  Decimal? Credit
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCredit] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip.FieldCredit);
			}
			set{
				this[this.uiviewSHFastShip.FieldCredit] = value;
			}
		}
		
		
		public  String Customer_DescFlexField_PrivateDescSeg8
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldCustomer_DescFlexField_PrivateDescSeg8] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldCustomer_DescFlexField_PrivateDescSeg8);
			}
			set{
				this[this.uiviewSHFastShip.FieldCustomer_DescFlexField_PrivateDescSeg8] = value;
			}
		}
		
		
		public  Int32? DocType_CreditCheckTime
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldDocType_CreditCheckTime] ;
				//return (Int32?)value;
				return GetValue<Int32?>(this.uiviewSHFastShip.FieldDocType_CreditCheckTime);
			}
			set{
				this[this.uiviewSHFastShip.FieldDocType_CreditCheckTime] = value;
			}
		}
		
		
		public  String ShipDocTypeParam
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldShipDocTypeParam] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldShipDocTypeParam);
			}
			set{
				this[this.uiviewSHFastShip.FieldShipDocTypeParam] = value;
			}
		}
		
		
		public  String ApproveMan
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldApproveMan] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldApproveMan);
			}
			set{
				this[this.uiviewSHFastShip.FieldApproveMan] = value;
			}
		}
		
		
		public  DateTime? ApproveDate
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldApproveDate] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip.FieldApproveDate);
			}
			set{
				this[this.uiviewSHFastShip.FieldApproveDate] = value;
			}
		}
		
		
		public  String UnApproveMan
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldUnApproveMan] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldUnApproveMan);
			}
			set{
				this[this.uiviewSHFastShip.FieldUnApproveMan] = value;
			}
		}
		
		
		public  DateTime? UnApproveDate
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldUnApproveDate] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip.FieldUnApproveDate);
			}
			set{
				this[this.uiviewSHFastShip.FieldUnApproveDate] = value;
			}
		}
		
		
		public  Decimal? TotalAmount
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldTotalAmount] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip.FieldTotalAmount);
			}
			set{
				this[this.uiviewSHFastShip.FieldTotalAmount] = value;
			}
		}
		
		
		public  String FinalCustomer
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldFinalCustomer] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldFinalCustomer);
			}
			set{
				this[this.uiviewSHFastShip.FieldFinalCustomer] = value;
			}
		}
		
		
		public  String Phone
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldPhone] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldPhone);
			}
			set{
				this[this.uiviewSHFastShip.FieldPhone] = value;
			}
		}
		
		
		public  String Address
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldAddress] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldAddress);
			}
			set{
				this[this.uiviewSHFastShip.FieldAddress] = value;
			}
		}
		
		
		public  String TBDocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldTBDocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldTBDocNo);
			}
			set{
				this[this.uiviewSHFastShip.FieldTBDocNo] = value;
			}
		}
		
		
		public  Int64? Agency
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldAgency] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldAgency);
			}
			set{
				this[this.uiviewSHFastShip.FieldAgency] = value;
			}
		}
		
		
		public  String Agency_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldAgency_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldAgency_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldAgency_Code] = value;
			}
		}
		
		
		public  String Agency_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldAgency_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldAgency_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldAgency_Name] = value;
			}
		}
		
		
		public  Int64? GeneralAgency
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldGeneralAgency] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip.FieldGeneralAgency);
			}
			set{
				this[this.uiviewSHFastShip.FieldGeneralAgency] = value;
			}
		}
		
		
		public  String GeneralAgency_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldGeneralAgency_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldGeneralAgency_Code);
			}
			set{
				this[this.uiviewSHFastShip.FieldGeneralAgency_Code] = value;
			}
		}
		
		
		public  String GeneralAgency_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldGeneralAgency_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldGeneralAgency_Name);
			}
			set{
				this[this.uiviewSHFastShip.FieldGeneralAgency_Name] = value;
			}
		}
		
		
		public  Boolean? IsZT
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldIsZT] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldIsZT);
			}
			set{
				this[this.uiviewSHFastShip.FieldIsZT] = value;
			}
		}
		
		
		public  Decimal? TBAmount
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldTBAmount] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip.FieldTBAmount);
			}
			set{
				this[this.uiviewSHFastShip.FieldTBAmount] = value;
			}
		}
		
		
		public  DateTime? RebatesDate
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldRebatesDate] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip.FieldRebatesDate);
			}
			set{
				this[this.uiviewSHFastShip.FieldRebatesDate] = value;
			}
		}
		
		
		public  String TotalNo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldTotalNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldTotalNo);
			}
			set{
				this[this.uiviewSHFastShip.FieldTotalNo] = value;
			}
		}
		
		
		public  String MDDocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldMDDocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldMDDocNo);
			}
			set{
				this[this.uiviewSHFastShip.FieldMDDocNo] = value;
			}
		}
		
		
		public  Boolean? GSCheck
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldGSCheck] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldGSCheck);
			}
			set{
				this[this.uiviewSHFastShip.FieldGSCheck] = value;
			}
		}
		
		
		public  Boolean? KHCheck
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldKHCheck] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldKHCheck);
			}
			set{
				this[this.uiviewSHFastShip.FieldKHCheck] = value;
			}
		}
		
		
		public  String MDMemo
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldMDMemo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip.FieldMDMemo);
			}
			set{
				this[this.uiviewSHFastShip.FieldMDMemo] = value;
			}
		}
		
		
		public  Boolean? Reserved
		{
			get{
				//object value = this[this.uiviewSHFastShip.FieldReserved] ;
				//return (Boolean?)value;
				return GetValue<Boolean?>(this.uiviewSHFastShip.FieldReserved);
			}
			set{
				this[this.uiviewSHFastShip.FieldReserved] = value;
			}
		}
		#endregion
	}
	
	[Serializable]
	public class SHFastShipDefaultFilterFilter : UIFilter
	{
		#region Constructor
		public SHFastShipDefaultFilterFilter(IUIView view) 
			: base("DefaultFilter",view,@"Org=#Context.OrgID#",@"")
		{
			InitClass();
		}
		//for Clone Constructor
		private SHFastShipDefaultFilterFilter()
			: base("DefaultFilter",null,"","")
		{}
		protected override IUIFilter CreateCloneInstance()
		{
			return new SHFastShipDefaultFilterFilter();
		}
		#endregion

		#region property
		private IUIParameter @ID;
		#endregion
		
		#region function
		private void InitClass()
		{
			this.@ID = new UIParameter("@ID",System.Data.DbType.Int64);
			this.Parameters.Add(this.@ID);
		}
		#endregion

	}



	[Serializable]
	public partial class SHFastShip_SHFastShipLineView : UIView
	{
		#region Constructor
		public SHFastShip_SHFastShipLineView(IUIModel model) : base(model,"SHFastShip_SHFastShipLine","UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine", false)
		{
			InitClass();
		}
		//构造空实例,不进行初始化.目前为Clone使用.
		private SHFastShip_SHFastShipLineView():base(null,"SHFastShip_SHFastShipLine","UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShipLine", false)
		{
		}
		protected override IUIView CreateCloneInstance()
		{
			return new SHFastShip_SHFastShipLineView();
		}
		#endregion

		#region fiels property filter
		public IUIField FieldID
		{
			get { return this.Fields["ID"]; }
		}
		public IUIField FieldCreatedOn
		{
			get { return this.Fields["CreatedOn"]; }
		}
		public IUIField FieldCreatedBy
		{
			get { return this.Fields["CreatedBy"]; }
		}
		public IUIField FieldModifiedOn
		{
			get { return this.Fields["ModifiedOn"]; }
		}
		public IUIField FieldModifiedBy
		{
			get { return this.Fields["ModifiedBy"]; }
		}
		public IUIField FieldSysVersion
		{
			get { return this.Fields["SysVersion"]; }
		}
		public IUIField FieldSHFastShip
		{
			get { return this.Fields["SHFastShip"]; }
		}
		public IUIField FieldDocLineNo
		{
			get { return this.Fields["DocLineNo"]; }
		}
		public IUIField FieldItem
		{
			get { return this.Fields["Item"]; }
		}
		public IUIField FieldItem_Code
		{
			get { return this.Fields["Item_Code"]; }
		}
		public IUIField FieldItem_Name
		{
			get { return this.Fields["Item_Name"]; }
		}
		public IUIField FieldQty
		{
			get { return this.Fields["Qty"]; }
		}
		public IUIField FieldUOM
		{
			get { return this.Fields["UOM"]; }
		}
		public IUIField FieldUOM_Code
		{
			get { return this.Fields["UOM_Code"]; }
		}
		public IUIField FieldUOM_Name
		{
			get { return this.Fields["UOM_Name"]; }
		}
		public IUIField FieldAvailableQty
		{
			get { return this.Fields["AvailableQty"]; }
		}
		public IUIField FieldPrice
		{
			get { return this.Fields["Price"]; }
		}
		public IUIField FieldAmount
		{
			get { return this.Fields["Amount"]; }
		}
		public IUIField FieldProductCost
		{
			get { return this.Fields["ProductCost"]; }
		}
		public IUIField FieldMarkCost
		{
			get { return this.Fields["MarkCost"]; }
		}
		public IUIField FieldTransportCost
		{
			get { return this.Fields["TransportCost"]; }
		}
		public IUIField FieldStoreCost
		{
			get { return this.Fields["StoreCost"]; }
		}
		public IUIField FieldWH
		{
			get { return this.Fields["WH"]; }
		}
		public IUIField FieldWH_Code
		{
			get { return this.Fields["WH_Code"]; }
		}
		public IUIField FieldWH_Name
		{
			get { return this.Fields["WH_Name"]; }
		}
		public IUIField FieldSOShipline
		{
			get { return this.Fields["SOShipline"]; }
		}
		public IUIField FieldMemo
		{
			get { return this.Fields["Memo"]; }
		}
		public IUIField FieldWeight
		{
			get { return this.Fields["Weight"]; }
		}
		public IUIField FieldStoreQty
		{
			get { return this.Fields["StoreQty"]; }
		}
		public IUIField FieldSOLine
		{
			get { return this.Fields["SOLine"]; }
		}
		public IUIField FieldSFSpec
		{
			get { return this.Fields["SFSpec"]; }
		}
		public IUIField FieldSFMaterial
		{
			get { return this.Fields["SFMaterial"]; }
		}
		public IUIField FieldDirection
		{
			get { return this.Fields["Direction"]; }
		}
		public IUIField FieldSFCount
		{
			get { return this.Fields["SFCount"]; }
		}
		public IUIField FieldLastCustomer
		{
			get { return this.Fields["LastCustomer"]; }
		}
		public IUIField FieldPriceType
		{
			get { return this.Fields["PriceType"]; }
		}
		public IUIField FieldPriceTypeName
		{
			get { return this.Fields["PriceTypeName"]; }
		}
		public IUIField FieldLot
		{
			get { return this.Fields["Lot"]; }
		}
		public IUIField FieldProductPrice
		{
			get { return this.Fields["ProductPrice"]; }
		}
		public IUIField FieldMarkPrice
		{
			get { return this.Fields["MarkPrice"]; }
		}
		public IUIField FieldTransportPrice
		{
			get { return this.Fields["TransportPrice"]; }
		}
		public IUIField FieldStorePrice
		{
			get { return this.Fields["StorePrice"]; }
		}
		public IUIField FieldLotMaster
		{
			get { return this.Fields["LotMaster"]; }
		}
		public IUIField FieldLotMaster_Code
		{
			get { return this.Fields["LotMaster_Code"]; }
		}
		public IUIField FieldLotMaster_Name
		{
			get { return this.Fields["LotMaster_Name"]; }
		}
		public IUIField FieldSODocNo
		{
			get { return this.Fields["SODocNo"]; }
		}
		public IUIField FieldItem_SPECS
		{
			get { return this.Fields["Item_SPECS"]; }
		}
		public IUIField FieldSOLine_SO_ID
		{
			get { return this.Fields["SOLine_SO_ID"]; }
		}
		public IUIField FieldSOLine_SO_DocumentType_ID
		{
			get { return this.Fields["SOLine_SO_DocumentType_ID"]; }
		}
		public IUIField FieldFinalAmount
		{
			get { return this.Fields["FinalAmount"]; }
		}
		public IUIField FieldTBFee
		{
			get { return this.Fields["TBFee"]; }
		}
		public IUIField FieldZMDProfit
		{
			get { return this.Fields["ZMDProfit"]; }
		}
		public IUIField FieldZDLProfit
		{
			get { return this.Fields["ZDLProfit"]; }
		}
		public IUIField FieldGSTransportFee
		{
			get { return this.Fields["GSTransportFee"]; }
		}
		public IUIField FieldGSProfit
		{
			get { return this.Fields["GSProfit"]; }
		}
		public IUIField FieldDevideRatio
		{
			get { return this.Fields["DevideRatio"]; }
		}
		public IUIField FieldOrderQty
		{
			get { return this.Fields["OrderQty"]; }
		}
		public IUIField FieldDeposit
		{
			get { return this.Fields["Deposit"]; }
		}
		public IUIField FieldLackQty
		{
			get { return this.Fields["LackQty"]; }
		}
		public IUIField FieldSalePrice
		{
			get { return this.Fields["SalePrice"]; }
		}
		public IUIField FieldMDItemCode
		{
			get { return this.Fields["MDItemCode"]; }
		}
		public IUIField FieldMDLineID
		{
			get { return this.Fields["MDLineID"]; }
		}
		public IUIField FieldMDDocNo
		{
			get { return this.Fields["MDDocNo"]; }
		}
		public IUIField FieldDocLineState
		{
			get { return this.Fields["DocLineState"]; }
		}


		[Obsolete("请使用CurrentFilter属性，这个方法有可能会导致强弱类型转换出错")]
		public SHFastShip_SHFastShipLineDefaultFilterFilter DefaultFilter
		{
			get { return (SHFastShip_SHFastShipLineDefaultFilterFilter)this.CurrentFilter; }
		}
		#endregion

		#region Init
		private void InitClass()
		{
			UIModelRuntimeFactory.AddNewUIField(this,"ID", typeof(Int64), false,"","System.Int64", "ID", true,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","3e734775-2c2b-44ab-bfe4-c55824f0311c");
			UIModelRuntimeFactory.AddNewUIField(this,"CreatedOn", typeof(DateTime), true,"","System.DateTime", "CreatedOn", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","1ae4dba8-f8ad-41a9-8d96-58677e283f8e");
			UIModelRuntimeFactory.AddNewUIField(this,"CreatedBy", typeof(String), true,"","System.String", "CreatedBy", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","00be1fa2-b4f6-4b17-927f-bdf804050572");
			UIModelRuntimeFactory.AddNewUIField(this,"ModifiedOn", typeof(DateTime), true,"","System.DateTime", "ModifiedOn", true,true, false, "",false,(UIFieldType)1,"3834a958-120f-4ac9-8d60-1a7be6d3f12f","b6802e20-ff7b-4211-9307-53b69c847b5a");
			UIModelRuntimeFactory.AddNewUIField(this,"ModifiedBy", typeof(String), true,"","System.String", "ModifiedBy", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","d20c5885-71e4-43ff-b31f-99e432f7b5b6");
			UIModelRuntimeFactory.AddNewUIField(this,"SysVersion", typeof(Int64), true,"0","System.Int64", "SysVersion", true,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","b29f1724-87db-4609-95e5-8b9e4eb735a2");
			UIModelRuntimeFactory.AddNewUIField(this,"SHFastShip", typeof(Int64), false,"","UFIDA.U9.Cust.SH.SHFastShipBE.SHFastShip", "SHFastShip", true,true, false, "",false,(UIFieldType)4,"3654409a-04df-4c17-a97c-afd9465c3eab","d35fea04-3c84-4ad2-b393-3ddb340aa31b");
			UIModelRuntimeFactory.AddNewUIField(this,"DocLineNo", typeof(Int32), false,"0","System.Int32", "DocLineNo", true,true, false, "",false,(UIFieldType)1,"d7c6031e-d3fe-41aa-a397-5edd86c10cae","aa79896c-f0bf-43f0-ada5-b7d3587366f6");
			UIModelRuntimeFactory.AddNewUIField(this,"Item", typeof(Int64), false,"","UFIDA.U9.CBO.SCM.Item.ItemMaster", "Item", true,true, false, "",false,(UIFieldType)4,"636d3e47-48aa-47fc-aca4-e6322bce775b","8eda3b27-2500-4bfc-af9c-5f3b7026c8b4");
			UIModelRuntimeFactory.AddNewUIField(this,"Item_Code", typeof(String), false,"","System.String", "Item.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","b3b4bc5d-f662-41fe-ac77-912da2148280");
			UIModelRuntimeFactory.AddNewUIField(this,"Item_Name", typeof(String), false,"","System.String", "Item.Name", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","2c84ba6d-5bd3-4b33-a6fa-ef2f3af2e44f");
			UIModelRuntimeFactory.AddNewUIField(this,"Qty", typeof(Decimal), true,"0","System.Decimal", "Qty", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","edd84742-9b3b-481b-a02a-f0a6249f3821");
			UIModelRuntimeFactory.AddNewUIField(this,"UOM", typeof(Int64), true,"","UFIDA.U9.Base.UOM.UOM", "UOM", true,true, false, "",false,(UIFieldType)4,"ff454e91-0d57-445e-aef2-03cedea46843","6c8197a5-5930-4924-91a3-61d88d6aa5cc");
			UIModelRuntimeFactory.AddNewUIField(this,"UOM_Code", typeof(String), false,"","System.String", "UOM.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","476d14c6-d829-481c-a162-e5e7a23ed8fc");
			UIModelRuntimeFactory.AddNewUIField(this,"UOM_Name", typeof(String), true,"","System.String", "UOM.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","e3902a00-f70f-4ca9-a894-6c6218e86140");
			UIModelRuntimeFactory.AddNewUIField(this,"AvailableQty", typeof(Decimal), true,"0","System.Decimal", "AvailableQty", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","6e5fed79-4114-42f1-9d17-2038774f7362");
			UIModelRuntimeFactory.AddNewUIField(this,"Price", typeof(Decimal), true,"0","System.Decimal", "Price", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","3fd789a7-9348-478d-88d9-0131fe8218cf");
			UIModelRuntimeFactory.AddNewUIField(this,"Amount", typeof(Decimal), true,"0","System.Decimal", "Amount", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","8306678a-72d1-459c-8e0e-386f2e6a27dc");
			UIModelRuntimeFactory.AddNewUIField(this,"ProductCost", typeof(Decimal), true,"0","System.Decimal", "ProductCost", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","c7f7ab69-e33b-4b62-abf4-ce734dde38ab");
			UIModelRuntimeFactory.AddNewUIField(this,"MarkCost", typeof(Decimal), true,"0","System.Decimal", "MarkCost", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","1595ec5a-0a21-48f8-877b-2a602d62021e");
			UIModelRuntimeFactory.AddNewUIField(this,"TransportCost", typeof(Decimal), true,"0","System.Decimal", "TransportCost", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","16df94fa-f1b2-4147-88e3-ebe11bf962e5");
			UIModelRuntimeFactory.AddNewUIField(this,"StoreCost", typeof(Decimal), true,"0","System.Decimal", "StoreCost", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","64d18116-e005-45bc-98da-a6cf54ce2171");
			UIModelRuntimeFactory.AddNewUIField(this,"WH", typeof(Int64), false,"","UFIDA.U9.CBO.SCM.Warehouse.Warehouse", "WH", true,true, false, "",false,(UIFieldType)4,"0fac5c83-2ab0-428f-bf82-c363857b37be","45b41df9-35bd-4100-8d31-1e39b183a899");
			UIModelRuntimeFactory.AddNewUIField(this,"WH_Code", typeof(String), false,"","System.String", "WH.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","b3afd8c5-d9d8-48af-bd28-1a7c718b122e");
			UIModelRuntimeFactory.AddNewUIField(this,"WH_Name", typeof(String), true,"","System.String", "WH.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","ccb94bcd-5904-42d9-a9a0-7bd588ef5972");
			UIModelRuntimeFactory.AddNewUIField(this,"SOShipline", typeof(Int64), true,"","UFIDA.U9.SM.SO.SOShipline", "SOShipline", true,true, false, "",false,(UIFieldType)4,"bdab162b-ed67-4097-bf7c-78a3b8d96684","dd42179f-892d-4669-b5f6-4abb4784198c");
			UIModelRuntimeFactory.AddNewUIField(this,"Memo", typeof(String), true,"","System.String", "Memo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","e1818444-56df-4cbd-bc2a-20bf9c938ad9");
			UIModelRuntimeFactory.AddNewUIField(this,"Weight", typeof(Decimal), true,"0","System.Decimal", "Weight", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","4d968fd4-50f4-409d-be7e-ed3900e76064");
			UIModelRuntimeFactory.AddNewUIField(this,"StoreQty", typeof(Decimal), true,"0","System.Decimal", "StoreQty", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","2bc52c43-3aca-4593-832a-1c53abe216fd");
			UIModelRuntimeFactory.AddNewUIField(this,"SOLine", typeof(Int64), true,"","UFIDA.U9.SM.SO.SOLine", "SOLine", true,true, false, "",false,(UIFieldType)4,"c9b1049e-d8a4-429a-b35a-8fd6a3e47add","25352b21-c136-4cb4-b883-822d5daa6ac0");
			UIModelRuntimeFactory.AddNewUIField(this,"SFSpec", typeof(String), true,"","System.String", "SFSpec", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","4d8b6d7a-e04b-4f6b-9de8-69bb68516730");
			UIModelRuntimeFactory.AddNewUIField(this,"SFMaterial", typeof(String), true,"","System.String", "SFMaterial", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","acecae1e-c4c1-412a-b2d4-b8ffa980026a");
			UIModelRuntimeFactory.AddNewUIField(this,"Direction", typeof(String), true,"","System.String", "Direction", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","9655ea88-f0cc-4064-8910-04a3ce67376b");
			UIModelRuntimeFactory.AddNewUIField(this,"SFCount", typeof(String), true,"","System.String", "SFCount", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","eca3ff36-d73d-4c13-bdc3-0a23d06b274a");
			UIModelRuntimeFactory.AddNewUIField(this,"LastCustomer", typeof(String), true,"","System.String", "LastCustomer", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","3119230b-bb8d-4881-b617-5e92dda43320");
			UIModelRuntimeFactory.AddNewUIField(this,"PriceType", typeof(String), true,"","System.String", "PriceType", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","d19b424e-4b21-439b-b69e-4c389f8ab3d4");
			UIModelRuntimeFactory.AddNewUIField(this,"PriceTypeName", typeof(String), true,"","System.String", "", false,false, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5944fdbb-e418-40df-a6fb-3e16628682ca");
			UIModelRuntimeFactory.AddNewUIField(this,"Lot", typeof(String), true,"","System.String", "Lot", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","3c06dbba-40b7-4faf-8560-b19f133ccdcf");
			UIModelRuntimeFactory.AddNewUIField(this,"ProductPrice", typeof(Decimal), true,"0","System.Decimal", "ProductPrice", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","e7daede6-da47-475d-acdd-124dba9a833f");
			UIModelRuntimeFactory.AddNewUIField(this,"MarkPrice", typeof(Decimal), true,"0","System.Decimal", "MarkPrice", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","f5e34d53-4cc7-4349-8805-ea5a9867020a");
			UIModelRuntimeFactory.AddNewUIField(this,"TransportPrice", typeof(Decimal), true,"0","System.Decimal", "TransportPrice", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","b0fb7ac8-85e0-439f-9c6d-8176cda7e438");
			UIModelRuntimeFactory.AddNewUIField(this,"StorePrice", typeof(Decimal), true,"0","System.Decimal", "StorePrice", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","f72825ae-44ba-4998-a441-ae4752c4bb9d");
			UIModelRuntimeFactory.AddNewUIField(this,"LotMaster", typeof(Int64), true,"","UFIDA.U9.Lot.LotMaster", "LotMaster", true,true, false, "",false,(UIFieldType)4,"9920d123-51ab-4b71-a9d7-dbd334329b41","06f687bf-d63d-4a69-83a9-c65ea065d872");
			UIModelRuntimeFactory.AddNewUIField(this,"LotMaster_Code", typeof(String), true,"","System.String", "LotMaster.Code", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","258a7143-82e7-4688-b97d-dd9f6c611aec");
			UIModelRuntimeFactory.AddNewUIField(this,"LotMaster_Name", typeof(String), true,"","System.String", "LotMaster.Name", false,true, false, "",true,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","8d000efa-0f55-4eab-a322-fe815844e17b");
			UIModelRuntimeFactory.AddNewUIField(this,"SODocNo", typeof(String), true,"","System.String", "SODocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","dd663c9d-665c-479a-8312-270ef6851fa2");
			UIModelRuntimeFactory.AddNewUIField(this,"Item_SPECS", typeof(String), true,"","System.String", "Item.SPECS", false,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","daa7536f-e86c-47ae-80ff-686b4c187b06");
			UIModelRuntimeFactory.AddNewUIField(this,"SOLine_SO_ID", typeof(Int64), false,"","System.Int64", "SOLine.SO.ID", false,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","d68edb04-0120-4192-b37c-71d6f01882b9");
			UIModelRuntimeFactory.AddNewUIField(this,"SOLine_SO_DocumentType_ID", typeof(Int64), false,"","System.Int64", "SOLine.SO.DocumentType.ID", false,true, false, "",false,(UIFieldType)1,"ba391065-6c27-4c82-acc8-b52b1c93a910","e8d1a258-bd66-40af-930f-6ace25d43367");
			UIModelRuntimeFactory.AddNewUIField(this,"FinalAmount", typeof(Decimal), true,"0","System.Decimal", "FinalAmount", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","8e81c748-f132-4a21-ae49-fdf8ff9a009d");
			UIModelRuntimeFactory.AddNewUIField(this,"TBFee", typeof(Decimal), true,"0","System.Decimal", "TBFee", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","b44f9617-9eaf-4fb3-b6b4-9d9c7419f343");
			UIModelRuntimeFactory.AddNewUIField(this,"ZMDProfit", typeof(Decimal), true,"0","System.Decimal", "ZMDProfit", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","823fe0d4-005c-46a7-a577-a438988ba52f");
			UIModelRuntimeFactory.AddNewUIField(this,"ZDLProfit", typeof(Decimal), true,"0","System.Decimal", "ZDLProfit", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","8507abdc-b08e-4269-989c-1e3920bb8354");
			UIModelRuntimeFactory.AddNewUIField(this,"GSTransportFee", typeof(Decimal), true,"0","System.Decimal", "GSTransportFee", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","344d816a-29a1-4aae-99e3-d641e366532e");
			UIModelRuntimeFactory.AddNewUIField(this,"GSProfit", typeof(Decimal), true,"0","System.Decimal", "GSProfit", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","ae14f481-4a65-443b-87e6-ce51951fe494");
			UIModelRuntimeFactory.AddNewUIField(this,"DevideRatio", typeof(Decimal), true,"0","System.Decimal", "DevideRatio", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","cac15abb-e423-4f75-b4bc-048368ecf8bb");
			UIModelRuntimeFactory.AddNewUIField(this,"OrderQty", typeof(Decimal), true,"0","System.Decimal", "OrderQty", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","3861c433-cdff-4d6f-9d42-963d2ff9b401");
			UIModelRuntimeFactory.AddNewUIField(this,"Deposit", typeof(Decimal), true,"0","System.Decimal", "Deposit", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","5c80dfc5-ace5-46f6-b4a3-e2e3e864b9e1");
			UIModelRuntimeFactory.AddNewUIField(this,"LackQty", typeof(Decimal), true,"0","System.Decimal", "LackQty", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","fca2e9a5-ffdb-4293-948b-c97b99e4025b");
			UIModelRuntimeFactory.AddNewUIField(this,"SalePrice", typeof(Decimal), true,"0","System.Decimal", "SalePrice", true,true, false, "",false,(UIFieldType)1,"91031687-94bb-4988-a939-df7bf999ef4f","e435cb48-c1a1-404b-93bd-0b03a2681eb6");
			UIModelRuntimeFactory.AddNewUIField(this,"MDItemCode", typeof(String), true,"","System.String", "MDItemCode", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","afe3f134-71e0-444b-b5b3-c96a8d79dd39");
			UIModelRuntimeFactory.AddNewUIField(this,"MDLineID", typeof(String), true,"","System.String", "MDLineID", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","0b622f6c-83f3-45ba-b868-e15e93c6fe03");
			UIModelRuntimeFactory.AddNewUIField(this,"MDDocNo", typeof(String), true,"","System.String", "MDDocNo", true,true, false, "",false,(UIFieldType)1,"3d174255-fd12-47f7-8844-3b5e4fae9e8c","5af86860-036f-4600-b7a6-872859515b18");
			UIModelRuntimeFactory.AddNewUIField(this,"DocLineState", typeof(Int32), true,"0","UFIDA.U9.Cust.SH.SHFastShipBE.FastShipDocState", "DocLineState", true,true, false, "",false,(UIFieldType)2,"643f41df-f9c1-4f26-844a-fd34ffbe7311","745e9d1f-2c82-4422-97c2-fdb5c07fbd13");


			this.CurrentFilter = new SHFastShip_SHFastShipLineDefaultFilterFilter(this);
		}
		#endregion
		
		#region override method
		protected override IUIRecord BuildNewRecord(IUIRecordBuilder builder)
		{
			return new SHFastShip_SHFastShipLineRecord(builder);
		}
		#endregion

		#region new method
		public new SHFastShip_SHFastShipLineRecord FocusedRecord
		{
			get { return (SHFastShip_SHFastShipLineRecord)base.FocusedRecord ; }
			set { base.FocusedRecord = value ; }
		}
		public new SHFastShip_SHFastShipLineRecord AddNewUIRecord()
		{	
			return (SHFastShip_SHFastShipLineRecord)base.AddNewUIRecord();
		}
		public new SHFastShip_SHFastShipLineRecord NewUIRecord()
		{	
			return (SHFastShip_SHFastShipLineRecord)base.NewUIRecord();
		}
		#endregion 

	}

	[Serializable]
	public class SHFastShip_SHFastShipLineRecord : UIRecord
	{
		#region Constructor
		public SHFastShip_SHFastShipLineRecord(IUIRecordBuilder builder):base(builder)
		{
		}
		private SHFastShip_SHFastShipLineView uiviewSHFastShip_SHFastShipLine
		{
			get { return (SHFastShip_SHFastShipLineView)this.ContainerView; }
		}
		protected override IUIRecord CreateCloneInstance(IUIRecordBuilder builder)
		{
			return new SHFastShip_SHFastShipLineRecord(builder);
		}
		#endregion

		#region property
		
		
		public  Int64 ID
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldID] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldID);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldID] = value;
			}
		}
		
		
		public  DateTime? CreatedOn
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldCreatedOn] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip_SHFastShipLine.FieldCreatedOn);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldCreatedOn] = value;
			}
		}
		
		
		public  String CreatedBy
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldCreatedBy] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldCreatedBy);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldCreatedBy] = value;
			}
		}
		
		
		public  DateTime? ModifiedOn
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldModifiedOn] ;
				//return (DateTime?)value;
				return GetValue<DateTime?>(this.uiviewSHFastShip_SHFastShipLine.FieldModifiedOn);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldModifiedOn] = value;
			}
		}
		
		
		public  String ModifiedBy
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldModifiedBy] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldModifiedBy);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldModifiedBy] = value;
			}
		}
		
		
		public new Int64? SysVersion
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSysVersion] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip_SHFastShipLine.FieldSysVersion);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSysVersion] = value;
			}
		}
		
		
		public  Int64 SHFastShip
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSHFastShip] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldSHFastShip);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSHFastShip] = value;
			}
		}
		
		
		public  Int32 DocLineNo
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldDocLineNo] ;
				//return (Int32)value;
				return GetValue<Int32>(this.uiviewSHFastShip_SHFastShipLine.FieldDocLineNo);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldDocLineNo] = value;
			}
		}
		
		
		public  Int64 Item
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldItem] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldItem);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldItem] = value;
			}
		}
		
		
		public  String Item_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldItem_Code);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_Code] = value;
			}
		}
		
		
		public  String Item_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldItem_Name);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_Name] = value;
			}
		}
		
		
		public  Decimal? Qty
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldQty] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldQty);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldQty] = value;
			}
		}
		
		
		public  Int64? UOM
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip_SHFastShipLine.FieldUOM);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM] = value;
			}
		}
		
		
		public  String UOM_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Code);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Code] = value;
			}
		}
		
		
		public  String UOM_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Name);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldUOM_Name] = value;
			}
		}
		
		
		public  Decimal? AvailableQty
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldAvailableQty] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldAvailableQty);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldAvailableQty] = value;
			}
		}
		
		
		public  Decimal? Price
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldPrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldPrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldPrice] = value;
			}
		}
		
		
		public  Decimal? Amount
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldAmount] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldAmount);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldAmount] = value;
			}
		}
		
		
		public  Decimal? ProductCost
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldProductCost] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldProductCost);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldProductCost] = value;
			}
		}
		
		
		public  Decimal? MarkCost
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMarkCost] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldMarkCost);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMarkCost] = value;
			}
		}
		
		
		public  Decimal? TransportCost
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldTransportCost] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldTransportCost);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldTransportCost] = value;
			}
		}
		
		
		public  Decimal? StoreCost
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldStoreCost] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldStoreCost);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldStoreCost] = value;
			}
		}
		
		
		public  Int64 WH
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldWH] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldWH);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldWH] = value;
			}
		}
		
		
		public  String WH_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldWH_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldWH_Code);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldWH_Code] = value;
			}
		}
		
		
		public  String WH_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldWH_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldWH_Name);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldWH_Name] = value;
			}
		}
		
		
		public  Int64? SOShipline
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSOShipline] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip_SHFastShipLine.FieldSOShipline);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSOShipline] = value;
			}
		}
		
		
		public  String Memo
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMemo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldMemo);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMemo] = value;
			}
		}
		
		
		public  Decimal? Weight
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldWeight] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldWeight);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldWeight] = value;
			}
		}
		
		
		public  Decimal? StoreQty
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldStoreQty] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldStoreQty);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldStoreQty] = value;
			}
		}
		
		
		public  Int64? SOLine
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip_SHFastShipLine.FieldSOLine);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine] = value;
			}
		}
		
		
		public  String SFSpec
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSFSpec] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldSFSpec);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSFSpec] = value;
			}
		}
		
		
		public  String SFMaterial
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSFMaterial] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldSFMaterial);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSFMaterial] = value;
			}
		}
		
		
		public  String Direction
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldDirection] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldDirection);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldDirection] = value;
			}
		}
		
		
		public  String SFCount
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSFCount] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldSFCount);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSFCount] = value;
			}
		}
		
		
		public  String LastCustomer
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLastCustomer] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldLastCustomer);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLastCustomer] = value;
			}
		}
		
		
		public  String PriceType
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldPriceType] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldPriceType);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldPriceType] = value;
			}
		}
		
		
		public  String PriceTypeName
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldPriceTypeName] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldPriceTypeName);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldPriceTypeName] = value;
			}
		}
		
		
		public  String Lot
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLot] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldLot);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLot] = value;
			}
		}
		
		
		public  Decimal? ProductPrice
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldProductPrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldProductPrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldProductPrice] = value;
			}
		}
		
		
		public  Decimal? MarkPrice
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMarkPrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldMarkPrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMarkPrice] = value;
			}
		}
		
		
		public  Decimal? TransportPrice
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldTransportPrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldTransportPrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldTransportPrice] = value;
			}
		}
		
		
		public  Decimal? StorePrice
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldStorePrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldStorePrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldStorePrice] = value;
			}
		}
		
		
		public  Int64? LotMaster
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster] ;
				//return (Int64?)value;
				return GetValue<Int64?>(this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster] = value;
			}
		}
		
		
		public  String LotMaster_Code
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Code] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Code);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Code] = value;
			}
		}
		
		
		public  String LotMaster_Name
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Name] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Name);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLotMaster_Name] = value;
			}
		}
		
		
		public  String SODocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSODocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldSODocNo);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSODocNo] = value;
			}
		}
		
		
		public  String Item_SPECS
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_SPECS] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldItem_SPECS);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldItem_SPECS] = value;
			}
		}
		
		
		public  Int64 SOLine_SO_ID
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_ID] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_ID);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_ID] = value;
			}
		}
		
		
		public  Int64 SOLine_SO_DocumentType_ID
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_DocumentType_ID] ;
				//return (Int64)value;
				return GetValue<Int64>(this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_DocumentType_ID);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSOLine_SO_DocumentType_ID] = value;
			}
		}
		
		
		public  Decimal? FinalAmount
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldFinalAmount] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldFinalAmount);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldFinalAmount] = value;
			}
		}
		
		
		public  Decimal? TBFee
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldTBFee] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldTBFee);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldTBFee] = value;
			}
		}
		
		
		public  Decimal? ZMDProfit
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldZMDProfit] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldZMDProfit);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldZMDProfit] = value;
			}
		}
		
		
		public  Decimal? ZDLProfit
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldZDLProfit] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldZDLProfit);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldZDLProfit] = value;
			}
		}
		
		
		public  Decimal? GSTransportFee
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldGSTransportFee] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldGSTransportFee);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldGSTransportFee] = value;
			}
		}
		
		
		public  Decimal? GSProfit
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldGSProfit] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldGSProfit);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldGSProfit] = value;
			}
		}
		
		
		public  Decimal? DevideRatio
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldDevideRatio] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldDevideRatio);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldDevideRatio] = value;
			}
		}
		
		
		public  Decimal? OrderQty
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldOrderQty] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldOrderQty);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldOrderQty] = value;
			}
		}
		
		
		public  Decimal? Deposit
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldDeposit] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldDeposit);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldDeposit] = value;
			}
		}
		
		
		public  Decimal? LackQty
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldLackQty] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldLackQty);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldLackQty] = value;
			}
		}
		
		
		public  Decimal? SalePrice
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldSalePrice] ;
				//return (Decimal?)value;
				return GetValue<Decimal?>(this.uiviewSHFastShip_SHFastShipLine.FieldSalePrice);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldSalePrice] = value;
			}
		}
		
		
		public  String MDItemCode
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMDItemCode] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldMDItemCode);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMDItemCode] = value;
			}
		}
		
		
		public  String MDLineID
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMDLineID] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldMDLineID);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMDLineID] = value;
			}
		}
		
		
		public  String MDDocNo
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldMDDocNo] ;
				//return (String)value;
				return GetValue<String>(this.uiviewSHFastShip_SHFastShipLine.FieldMDDocNo);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldMDDocNo] = value;
			}
		}
		
		
		public  Int32? DocLineState
		{
			get{
				//object value = this[this.uiviewSHFastShip_SHFastShipLine.FieldDocLineState] ;
				//return (Int32?)value;
				return GetValue<Int32?>(this.uiviewSHFastShip_SHFastShipLine.FieldDocLineState);
			}
			set{
				this[this.uiviewSHFastShip_SHFastShipLine.FieldDocLineState] = value;
			}
		}
		#endregion
	}
	
	[Serializable]
	public class SHFastShip_SHFastShipLineDefaultFilterFilter : UIFilter
	{
		#region Constructor
		public SHFastShip_SHFastShipLineDefaultFilterFilter(IUIView view) 
			: base("DefaultFilter",view,@"",@"")
		{
			InitClass();
		}
		//for Clone Constructor
		private SHFastShip_SHFastShipLineDefaultFilterFilter()
			: base("DefaultFilter",null,"","")
		{}
		protected override IUIFilter CreateCloneInstance()
		{
			return new SHFastShip_SHFastShipLineDefaultFilterFilter();
		}
		#endregion

		#region property
		#endregion
		
		#region function
		private void InitClass()
		{
		}
		#endregion

	}



}